package com.sun.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Description: 模糊查询时
 * @Author hugh.sun
 * @Date 2021/11/20 8:30
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CustomerVo {
    private String name;
    private String zipCode;
    private String address;
    private String telephone;
    private String email;
    @JsonFormat(pattern = "yyyy-MM-dd HH-mm-ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date date;

}
